Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency svelte to v4 #2882

Merged
merged 1 commit into from
Jul 3, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 22, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
svelte (source) 3.59.1 -> 4.0.1 age adoption passing confidence

Release Notes

sveltejs/svelte (svelte)

v4.0.1

Compare Source

Patch Changes
  • fix: ensure identifiers in destructuring contexts don't clash with existing ones (#​8840)

  • fix: ensure createEventDispatcher and ActionReturn work with types from generic function parameters (#​8872)

  • fix: apply transition to <svelte:element> with local transition (#​8865)

  • fix: relax a11y "no redundant role" rule for li, ul, ol (#​8867)

  • fix: remove tsconfig.json from published package (#​8859)

v4.0.0

Compare Source

Major Changes
  • breaking: Minimum supported Node version is now Node 16 (#​8566)

  • breaking: Minimum supported webpack version is now webpack 5 (#​8515)

  • breaking: Bundlers must specify the browser condition when building a frontend bundle for the browser (#​8516)

  • breaking: Minimum supported vite-plugin-svelte version is now 2.4.1. SvelteKit users can upgrade to 1.20.0 or newer to ensure a compatible version (#​8516)

  • breaking: Minimum supported rollup-plugin-svelte version is now 7.1.5 (198dbcf)

  • breaking: Minimum supported svelte-loader is now 3.1.8 (198dbcf)

  • breaking: Minimum supported TypeScript version is now TypeScript 5 (it will likely work with lower versions, but we make no guarantees about that) (#​8488)

  • breaking: Remove svelte/register hook, CJS runtime version and CJS compiler output (#​8613)

  • breaking: Stricter types for createEventDispatcher (see PR for migration instructions) (#​7224)

  • breaking: Stricter types for Action and ActionReturn (see PR for migration instructions) (#​7442)

  • breaking: Stricter types for onMount - now throws a type error when returning a function asynchronously to catch potential mistakes around callback functions
    (see PR for migration instructions) (#​8136)

  • breaking: Overhaul and drastically improve creating custom elements with Svelte (see PR for list of changes and migration instructions) (#​8457)

  • breaking: Deprecate SvelteComponentTyped in favor of SvelteComponent (#​8512)

  • breaking: Make transitions local by default to prevent confusion around page navigations (#​6686)

  • breaking: Error on falsy values instead of stores passed to derived (#​7947)

  • breaking: Custom store implementers now need to pass an update function additionally to the set function (#​6750)

  • breaking: Do not expose default slot bindings to named slots and vice versa (#​6049)

  • breaking: Change order in which preprocessors are applied (#​8618)

  • breaking: The runtime now makes use of classList.toggle(name, boolean) which does not work in very old browsers (#​8629)

  • breaking: apply inert to outroing elements (#​8628)

  • breaking: use CustomEvent constructor instead of deprecated createEvent method (#​8775)

Minor Changes
  • Add a way to modify attributes for script/style preprocessors (#​8618)

  • Improve hydration speed by adding data-svelte-h attribute to detect unchanged HTML elements (#​7426)

  • Add a11y no-noninteractive-element-interactions rule (#​8391)

  • Add a11y-no-static-element-interactionsrule (#​8251)

  • Allow #each to iterate over iterables like Set, Map etc (#​7425)

  • Improve duplicate key error for keyed each blocks (#​8411)

  • Warn about : in attributes and props to prevent ambiguity with Svelte directives (#​6823)

  • feat: add version info to window. You can opt out by setting discloseVersion to false in the compiler options (#​8761)

  • feat: smaller minified output for destructor chunks (#​8763)

Patch Changes
  • Bind null option and input values consistently (#​8312)

  • Allow $store to be used with changing values including nullish values (#​7555)

  • Initialize stylesheet with /* empty */ to enable setting CSP directive that also works in Safari (#​7800)

  • Treat slots as if they don't exist when using CSS adjacent and general sibling combinators (#​8284)

  • Fix transitions so that they don't require a style-src 'unsafe-inline' Content Security Policy (CSP) (#​6662).

  • Explicitly disallow var declarations extending the reactive statement scope (#​6800)

  • Improve error message when trying to use animate: directives on inline components (#​8641)

  • fix: export ComponentType from svelte entrypoint (#​8578)

  • fix: never use html optimization for mustache tags in hydration mode (#​8744)

  • fix: derived store types (#​8578)

  • Generate type declarations with dts-buddy (#​8578)

  • fix: ensure types are loaded with all TS settings (#​8721)

  • fix: account for preprocessor source maps when calculating meta info (#​8778)

  • chore: deindent cjs output for compiler (#​8785)

  • warn on boolean compilerOptions.css (#​8710)

  • fix: export correct SvelteComponent type (#​8721)

v3.59.2

Compare Source

  • Fix escaping <textarea bind:value={...}> values in SSR

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 22, 2023
@changeset-bot
Copy link

changeset-bot bot commented Jun 22, 2023

⚠️ No Changeset found

Latest commit: 1cd3518

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Jun 22, 2023

Apollo Federation Subgraph Compatibility Results

Federation 1 SupportFederation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

@github-actions
Copy link
Contributor

github-actions bot commented Jun 22, 2023

✅ Benchmark Results

     ✓ no_errors{mode:graphql}
     ✓ expected_result{mode:graphql}
     ✓ no_errors{mode:graphql-jit}
     ✓ expected_result{mode:graphql-jit}
     ✓ no_errors{mode:graphql-response-cache}
     ✓ expected_result{mode:graphql-response-cache}
     ✓ no_errors{mode:graphql-no-parse-validate-cache}
     ✓ expected_result{mode:graphql-no-parse-validate-cache}

     checks.......................................: 100.00% ✓ 264988      ✗ 0     
     data_received................................: 1.1 GB  9.0 MB/s
     data_sent....................................: 54 MB   446 kB/s
     http_req_blocked.............................: avg=2.04µs   min=1.1µs    med=1.6µs    max=8.95ms   p(90)=2.4µs    p(95)=2.7µs   
     http_req_connecting..........................: avg=8ns      min=0s       med=0s       max=703.74µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=602.98µs min=269.51µs med=491.83µs max=49.11ms  p(90)=884.55µs p(95)=935.66µs
       { expected_response:true }.................: avg=602.98µs min=269.51µs med=491.83µs max=49.11ms  p(90)=884.55µs p(95)=935.66µs
     ✓ { mode:graphql-jit }.......................: avg=443.74µs min=269.51µs med=393.42µs max=18.52ms  p(90)=463.22µs p(95)=504.15µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=967.24µs min=754.14µs med=879.85µs max=49.11ms  p(90)=985.26µs p(95)=1.15ms  
     ✓ { mode:graphql-response-cache }............: avg=532.74µs min=351.62µs med=472.63µs max=14.56ms  p(90)=541.03µs p(95)=609.73µs
     ✓ { mode:graphql }...........................: avg=612.29µs min=431.82µs med=534.23µs max=23.74ms  p(90)=626.74µs p(95)=724.24µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 132494
     http_req_receiving...........................: avg=34.67µs  min=18.3µs   med=29.8µs   max=10.47ms  p(90)=43.9µs   p(95)=48µs    
     http_req_sending.............................: avg=15.86µs  min=6.5µs    med=9.9µs    max=4.36ms   p(90)=16.5µs   p(95)=18.4µs  
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=552.45µs min=240.01µs med=447.22µs max=48.96ms  p(90)=840.65µs p(95)=881.35µs
     http_reqs....................................: 132494  1104.085285/s
     iteration_duration...........................: avg=898.75µs min=477.72µs med=781.95µs max=49.54ms  p(90)=1.17ms   p(95)=1.25ms  
     iterations...................................: 132494  1104.085285/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

@github-actions
Copy link
Contributor

github-actions bot commented Jun 22, 2023

💻 Website Preview

The latest changes are available as preview in: https://0e4e4bcc.graphql-yoga.pages.dev

@github-actions
Copy link
Contributor

github-actions bot commented Jun 22, 2023

🚀 Snapshot Release (rc)

The latest changes of this PR are available as rc on npm (based on the declared changesets):

Package Version Info
graphql-yoga-cloud-run-guide 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/apollo-link 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
graphql-yoga 4.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 1.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 2.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 4.0.2-rc-20230622152548-53519fc8 npm ↗︎ unpkg ↗︎

@renovate renovate bot force-pushed the renovate/svelte-4.x branch 2 times, most recently from 60c6133 to b98a7ba Compare June 29, 2023 05:18
@ardatan ardatan merged commit f28fe7d into main Jul 3, 2023
@ardatan ardatan deleted the renovate/svelte-4.x branch July 3, 2023 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant